package com.situ.day23.factory3;

public class HPFactory implements IFactory{
    @Override
    public IKeyboard createKeyboard() {
        System.out.println("HPFactory.createKeyboard");
        return new HPKeyboard();
    }

    @Override
    public IMonitor createMonitor() {
        System.out.println("HPFactory.createMonitor");
        return new HPMonitor();
    }
}
